[.config_load file="../../config/emmm.conf".]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>[.$emmm_adminfont.admintitle.]</title>
<link href="templates/images/emmm_login.css" rel="stylesheet" type="text/css"> 
[.#jq172#.]
<script>
<!--
/*第一种形式 第二种形式 更换显示样式*/
function setTab(m,n){
 var tli=document.getElementById("menu"+m).getElementsByTagName("li");
 var mli=document.getElementById("main"+m).getElementsByTagName("ul");
 for(i=0;i<tli.length;i++){
  tli[i].className=i==n?"hover":"";
  mli[i].style.display=i==n?"block":"none";
 }
}
//-->
</script>
</head>

<body>
<div style="height:50px;"></div>
<div style="clear:both"></div>
<div id="tabs0">
 <ul class="menu0" id="menu0">
  <li class="hover">图片水印设置</li>
 </ul>
 <div class="main" id="main0" style="border-top:2px #488fcd solid; clear:both;">
  <ul class="block">
	  <li>
		<div class="emmm_newslist">
		  <form id="form1" name="form1" method="post" action="?emmm_cms=edit&id=1">
          <table width="100%" border="0" cellpadding="10">
                  <tr>
                    <td width="16%"><div align="right">水印功能：</div></td>
                    <td width="39%">
					
					<input type="radio" name="COL_Watermarkoff" value="1" [.if $emmm_watermark.COL_Watermarkoff == 1.]checked="checked"[./if.] />开启&nbsp;&nbsp;
                    <input name="COL_Watermarkoff" type="radio" value="2" [.if $emmm_watermark.COL_Watermarkoff == 2.]checked="checked"[./if.] />关闭
					
					
					</td>
                  </tr> 
                  <tr>
                    <td><div align="right">图片水印：</div></td>
                    <td ><input type="text" name="COL_Watermarkimg" value="[.$emmm_watermark.COL_Watermarkimg.]" class="win" />
						<p>把你自已的水印图片放到 /skin/ 目录内，在这里只添写图片名称即可。</p>
						<p>如：watermark.png</p>					</td>
                  </tr>
                  <tr>
                    <td><div align="right">文字水印：</div></td>
                    <td><input type="text" name="COL_Watermarkfont" value="[.$emmm_watermark.COL_Watermarkfont.]" class="win" /></td>
                  </tr>
                  <tr>
                    <td><div align="right">文字颜色：</div></td>
                    <td><input type="text" name="COL_Watermarkcolor" value="[.$emmm_watermark.COL_Watermarkcolor.]" class="win" id="color" />&nbsp;<input type="button" id="colorpicker" value="取色器" style="width:100px; height:25px; line-height:25px; background:#0099CC; color:#FFFFFF; border:0px;" />
			[.include file="emmm_editor.html".]
					


		<script>
			KindEditor.ready(function(K) {
				var colorpicker;
				K('#colorpicker').bind('click', function(e) {
					e.stopPropagation();
					if (colorpicker) {
						colorpicker.remove();
						colorpicker = null;
						return;
					}
					var colorpickerPos = K('#colorpicker').pos();
					colorpicker = K.colorpicker({
						x : colorpickerPos.x,
						y : colorpickerPos.y + K('#colorpicker').height(),
						z : 19811214,
						selectedColor : 'default',
						noColor : '无颜色',
						click : function(color) {
							K('#color').val(color);
							colorpicker.remove();
							colorpicker = null;
						}
					});
				});
				K(document).click(function() {
					if (colorpicker) {
						colorpicker.remove();
						colorpicker = null;
					}
				});
			});
		</script>					</td>
                  </tr>
                  <tr>
                    <td><div align="right">文字大小：</div></td>
                    <td><input type="text" name="COL_Watermarksize" value="[.$emmm_watermark.COL_Watermarksize.]" class="win" />&nbsp;1-5
					</td>
                  </tr>
                  <tr>
                    <td><div align="right">水印位置：</div></td>
                    <td align="left"><table width="500" height="250" border="0" cellpadding="12" style="float:left; background:url(../../skin/admin_watermark.png) no-repeat;">
                      <tr>
                        <td style="border-right:1px #CCCCCC dashed;"><div align="center">
                            <input type="radio" name="COL_Watermarkposition" value="1" [.if $emmm_watermark.COL_Watermarkposition == 1.]checked="checked"[./if.] />
                        </div></td>
                        <td style="border-right:1px #CCCCCC dashed;"><div align="center">
                            <input type="radio" name="COL_Watermarkposition" value="2" [.if $emmm_watermark.COL_Watermarkposition == 2.]checked="checked"[./if.] />
                        </div></td>
                        <td><div align="center">
                            <input type="radio" name="COL_Watermarkposition" value="3" [.if $emmm_watermark.COL_Watermarkposition == 3.]checked="checked"[./if.] />
                        </div></td>
                      </tr>
                      <tr>
                        <td style="border-right:1px #CCCCCC dashed;"><div align="center">
                            <input type="radio" name="COL_Watermarkposition" value="4" [.if $emmm_watermark.COL_Watermarkposition == 4.]checked="checked"[./if.] />
                        </div></td>
                        <td style="border-right:1px #CCCCCC dashed;"><div align="center">
                            <input type="radio" name="COL_Watermarkposition" value="5" [.if $emmm_watermark.COL_Watermarkposition == 5.]checked="checked"[./if.] />
                        </div></td>
                        <td><div align="center">
                            <input type="radio" name="COL_Watermarkposition" value="6" [.if $emmm_watermark.COL_Watermarkposition == 6.]checked="checked"[./if.] />
                        </div></td>
                      </tr>
                      <tr>
                        <td style="border-right:1px #CCCCCC dashed;"><div align="center">
                            <input type="radio" name="COL_Watermarkposition" value="7" [.if $emmm_watermark.COL_Watermarkposition == 7.]checked="checked"[./if.] />
                        </div></td>
                        <td style="border-right:1px #CCCCCC dashed;"><div align="center">
                            <input type="radio" name="COL_Watermarkposition" value="8" [.if $emmm_watermark.COL_Watermarkposition == 8.]checked="checked"[./if.] />
                        </div></td>
                        <td><div align="center">
                            <input name="COL_Watermarkposition" type="radio" value="9" [.if $emmm_watermark.COL_Watermarkposition == 9.]checked="checked"[./if.] />
                        </div></td>
                      </tr>
                    </table>
					        &nbsp;&nbsp;&nbsp;&nbsp;随机位置：<input type="radio" name="COL_Watermarkposition" value="0" [.if $emmm_watermark.COL_Watermarkposition == 0.]checked="checked"[./if.] />
					</td>
                  </tr>
                  <tr>
                    <td>&nbsp;</td>
                    <td><input type="submit" name="Submit" value="提交" class="emmm-anniu" /></td>
                  </tr>
                </table>
          </form>
		</div>
	  </li>
  </ul>
 </div>
</div>
[.include file="emmm_foot.html".]
</body>
</html>
